﻿<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns="http://schemas.microsoft.com/vsto/samples"
    targetNamespace="http://schemas.microsoft.com/vsto/samples"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
  <xs:element name="employees" type="EmployeesType"></xs:element>
  <xs:complexType name="EmployeesType">
    <xs:all>
      <xs:element name="employee" type="EmployeeType"/>
    </xs:all>
  </xs:complexType>
  <xs:complexType name="EmployeeType">
    <xs:sequence>
      <xs:element name="n_invoice" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="customer" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="cif" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="importeTotal" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="status" type="xs:string" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  <!--<xs:simpleType name="TitleType">
    <xs:restriction base="xs:string">
      <xs:enumeration value ="Emisor"/>
      <xs:enumeration value ="Receptor"/>
      <xs:enumeration value ="Tercero"/>
    </xs:restriction>
  </xs:simpleType>-->
</xs:schema>